package com.cyanz.entity;

import java.util.List;

/**
 * @author Scyanz
 * @description 实体类
 * @date 2020/10/9 12:07
 */
public class Student {
    private Integer stuId;//BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '学生编号',
    private String stuName;//VARCHAR(50) NULL DEFAULT NULL COMMENT '学生名字',
    private Integer stuAge;//INT(11) NULL DEFAULT NULL COMMENT '学生年龄',
    private String stuPassword;//VARCHAR(50) NULL DEFAULT NULL COMMENT '密码',

    private Address address;

    private List<Course> courseList;

    public Student() {
    }

    public Student(Integer stuId, String stuName, Integer stuAge, String stuPassword) {
        this.stuId = stuId;
        this.stuName = stuName;
        this.stuAge = stuAge;
        this.stuPassword = stuPassword;
    }

    public List<Course> getCourseList() {
        return courseList;
    }

    public void setCourseList(List<Course> courseList) {
        this.courseList = courseList;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }


    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public Integer getStuAge() {
        return stuAge;
    }

    public void setStuAge(Integer stuAge) {
        this.stuAge = stuAge;
    }

    public String getStuPassword() {
        return stuPassword;
    }

    public void setStuPassword(String stuPassword) {
        this.stuPassword = stuPassword;
    }
}
